package xyz.labradormm.spider.controller;
import io.swagger.v3.oas.annotations.tags.Tag;
import io.swagger.v3.oas.annotations.Operation;
import xyz.labradormm.spider.domain.dto.Result;
import xyz.labradormm.spider.service.ISpiderTaskInfoService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 爬虫任务表 前端控制器
 * </p>
 *
 * @author huanghaojian
 * @since 2023-12-10
 */
@Tag(name="爬虫任务表接口")
@RestController
@RequestMapping("/spiderTaskInfo")
public class SpiderTaskInfoController {


    @Autowired
    private ISpiderTaskInfoService iSpiderTaskInfoService;

    @Operation(summary="添加",description = "添加接口")
    @PostMapping
    public Result add(){
        return Result.success();
    }

    @Operation(summary="编辑",description = "编辑接口")
    @PutMapping
    public Result edit(){
        return Result.success();
    }

    @Operation(summary="详情",description = "详情接口")
    @GetMapping
    public Result detail(@RequestParam(value="id") Integer id){
        return Result.success();
    }


    @Operation(summary="列表",description = "列表接口")
    @PostMapping("page")
    public Result page(){
        return Result.success();
    }

}
